package com;

import java.net.Socket;

public class Request {
	private String methodHttp;
	private String pathHttp;
	private String versionHttp;
	private Socket soket;
	private String progRequest;
	private String classpath;
	
	public String getClasspath() {
		return classpath;
	}

	public void setClasspath(String classpath) {
		this.classpath = classpath;
	}

	public String getProgRequest() {
		return progRequest;
	}

	public void setProgRequest(String progRequest) {
		this.progRequest = progRequest;
	}

	private Integer id;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Socket getSoket() {
		return soket;
	}

	public void setSoket(Socket soket) {
		this.soket = soket;
	}
        
        public Request(){
            
        }
        
	public Request(String methodHttp, String pathHttp, String versionHttp,
			Socket soket, Integer m) {
		super();
		this.id=m;
		this.methodHttp = methodHttp;
		this.pathHttp = pathHttp;
		this.versionHttp = versionHttp;
		this.soket = soket;
	}

	public String getMethodHttp() {
		return methodHttp;
	}

	public void setMethodHttp(String methodHttp) {
		this.methodHttp = methodHttp;
	}

	public String getPathHttp() {
		return pathHttp;
	}

	public void setPathHttp(String pathHttp) {
		this.pathHttp = pathHttp;
	}

	public String getVersionHttp() {
		return versionHttp;
	}

	public void setVersionHttp(String versionHttp) {
		this.versionHttp = versionHttp;
	}

	@Override
	public String toString() {
		return "Request " + methodHttp + " " + pathHttp
				+ " " + versionHttp + " " + id;
	}

}
